<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!doctype html>
<html>

<head>
    <meta charset="UTF-8" />
    <title>库存管理系统</title>
    <link rel="stylesheet" type="text/css" href="http://localhost:8080/back/css/common.css" />
    <link rel="stylesheet" type="text/css" href="http://localhost:8080/back/css/main.css" />
</head>

<body>
<%@include file="../common/header.jsp"%>

<div class="container clearfix">
    <%@include file="../common/menu.jsp"%>

    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="http://localhost:8080/back/index.jsp">首页</a><span
                    class="crumb-step">&gt;</span><a class="crumb-name" href="../user/getUserByAccount?account=${account}">用户管理</a><span
                    class="crumb-step">&gt;</span><span>修改个人信息</span></div>
        </div>
        <div class="result-wrap">
            <div class="result-content">
                <form action="../user/userEdit.do" method="post" id="myform" name="myform">
                    <input type="hidden" name="userId" value="${user.userId}">
                    <table class="insert-tab" width="100%">
                        <tbody>

                        <tr>
                            <th><i class="require-red">*</i>账号：</th>
                            <td>
                                <input class="common-text required"  name="account"
                                       size="50" value="${user.account}" type="text">
                                <span style="color: red;"></span>
                            </td>
                            <tr>
                                <th><i class="require-red">*</i>密码：</th>
                                <td>
                                    <input class="common-text required"  name="password"
                                           size="50" value="${user.password}" type="text">
                                    <span style="color: red;"></span>
                                </td>
                                </td>
                            </tr>

                        <tr>
                            <th><i class="require-red">*</i>姓名：</th>
                            <td>
                                <input class="common-text required" name="name"
                                       size="50" value="${user.name}" type="text">
                                <span style="color: red;"></span>
                            </td>
                            </td>
                        </tr>
                        <tr>
                            <th><i class="require-red">*</i>性别：</th>
                            <td>
                                <input class="common-text required"  name="gender"
                                       size="50" value="${user.gender}" type="text">
                                <span style="color: red;"></span>
                            </td>
                            </td>
                        </tr>
                        <tr>
                            <th><i class="require-red">*</i>民族：</th>
                            <td>
                                <input class="common-text required"  name="nation"
                                       size="50" value="${user.nation}" type="text">
                                <span style="color: red;"></span>
                            </td>
                            </td>
                        </tr>
                        <tr>
                            <th><i class="require-red">*</i>出生日期：</th>
                            <td>
                                <input class="common-text required"  name="birthDate"
                                       size="50" value="${user.birthDate}" type="date">
                                <span style="color: red;"></span>
                            </td>
                            </td>
                        </tr>
                        <tr>
                            <th><i class="require-red">*</i>邮箱：</th>
                            <td>
                                <input class="common-text required"  name="email"
                                       size="50" value="${user.email}" type="text">
                                <span style="color: red;"></span>
                            </td>
                            </td>
                        </tr>
                        <tr>
                            <th><i class="require-red">*</i>电话：</th>
                            <td>
                                <input class="common-text required" id="station_address" name="phone"
                                       size="50" value="${user.phone}" type="text">
                                <span style="color: red;"></span>
                            </td>
                            </td>
                        </tr>
                        <tr>
                            <th><i class="require-red">*</i>籍贯：</th>
                            <td>
                                <input class="common-text required"  name="nativePlace"
                                       size="50" value="${user.nativePlace}" type="text">
                                <span style="color: red;"></span>
                            </td>
                            </td>
                        </tr>
                        <tr>
                            <th><i class="require-red">*</i>家庭住址：</th>
                            <td>
                                <input class="common-text required"  name="homeAddress"
                                       size="50" value="${user.homeAddress}" type="text">
                                <span style="color: red;"></span>
                            </td>
                            </td>
                        </tr>
                        <tr>
                            <th><i class="require-red">*</i>婚姻状况：</th>
                            <td>
                                <input class="common-text required"  name="maritalStatus"
                                       size="50" value="${user.maritalStatus}" type="text">
                                <span style="color: red;"></span>
                            </td>
                            </td>
                        </tr>
                        <tr>
                            <th></th>
                            <td>
                                <input class="btn btn-primary btn6 mr10" value="修改" type="submit">
                                <input class="btn btn6" onClick="history.go(-1)" value="返回" type="button">
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </form>
            </div>
        </div>
    </div>
</div>
</body>

</html>